Eplan Platform API
Eplan.EplApi.DataModel Namespace / Group Class / RemoveSubPlacements Method / RemoveSubPlacements(Placement[],Boolean) Method
If true method will remove also Group when it becomes empty.

In This Topic
    RemoveSubPlacements(Placement[],Boolean) Method
    In This Topic
    Remove Placements from the group and from the project. The Placement objects passed into this method are no longer valid.
    Syntax
    public virtual void RemoveSubPlacements( 
       Placement[] placements,
       bool bRemoveEmptyGroup
    )
    public:
    virtual void RemoveSubPlacements( 
       array<Placement^>^ placements,
       bool bRemoveEmptyGroup
    ) 

    Parameters

    placements
    bRemoveEmptyGroup
    If true method will remove also Group when it becomes empty.
    Remarks
    This method doesn't make sense for class "SymbolVariant" and "DimensionGroup". It always throws ForbiddenOperationException for class "SymbolVariant" and "DimensionGroup".
    See Also